package com.kis.pattern.mediator;

/**
 * Created by yks on 15-11-17.
 */
public class CDDriver extends Colleague{

    public CDDriver(Mediator mediator) {
        super(mediator);
    }
    private String data="";

    public String getData() {
        return data;
    }
    public void readCD(){
        this.data="声音,图像";
        getMediator().changed(this);
    }
}
